package com.caption.api.client.base;

import com.caption.api.entity.ApiResponse;

/**
 * 外部请求模块
 */
public abstract class BaseApiClient<Result extends ApiResponse<?>, Condition> {

    public Result invoke(Condition condition) {
        return this.execute(getInterfaces(), condition);
    }

    public Result execute(String interfaceId, Condition condition) {
        return null;
    }

    public String getInterfaces() {
        return null;
    }

}
